home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4514 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.5 KB  |  49 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sed.psrw.com!psinntp!psinntp!psinntp!psinntp!bbnews1!trsvr!news
  3. From: bmr1@trpo4.tr.unisys.com (Ben Romer)
  4. Subject: Re: How much dimensions an array can have???????
  5. Sender: news@tr.unisys.com (cnews news id.)
  6. Message-ID: <DM06z7.5vy@tr.unisys.com>
  7. Date: Tue, 30 Jan 1996 16:54:43 GMT
  8. X-Nntp-Posting-Host: bmr1.tr.unisys.com
  9. References: <Klusmann.67.000B0704@mbox.iftc.uni-hannover.de>
  10. Organization: Unisys Corporation
  11. X-Newsreader: WinVN NT 0.92.6
  12.  
  13. In article <Klusmann.67.000B0704@mbox.iftc.uni-hannover.de>, Klusmann@mbox.iftc.uni-hannover.de (Stefan Klusmann) says:
  14. >
  15. >Hi,
  16. >
  17. >I am currently concerned with a data preparation tool!
  18. >Beside many other problems I would like to know the
  19. >maximum dimension of an C++ array.
  20. >
  21. >Is it compiler dependent???
  22. >
  23. >Thx in advance,
  24. >
  25. >Stefan
  26. >
  27. >
  28. >Stefan Klusmann, Chemical Engineering student
  29. >Institut fuer Technische Chemie, Universitaet Hannover
  30. >Callinstr. 3, 30167 Hannover
  31. >e-mail: Klusmann@mbox.iftc.uni-hannover.de
  32. >www:    http://sun1.rrzn.uni-hannover.de/~nhchklus
  33.  
  34. If you mean the size of the dimensions, they are dependent
  35. on both the compiler and the memory size of your machine.
  36. If you mean the number of dimentions, i.e. array[][][][]... you
  37. should be able to use as many as you need, although I can't
  38. think of any reason to go beyond three levels. This may be
  39. compiler dependent, you should read the manual for your
  40. compiler for more information.
  41.  
  42.  
  43. Benjamin Romer
  44. Software Engineer
  45. Unisys Corporation
  46.  
  47. #include <stddisclaim.txt>
  48.  
  49.